package com.lucien.framework.websocket;

import java.security.Principal;

/**
 * @Author: Lucien
 * @Description:
 * @Date: Created in 2021/5/3
 */
public class UserPrincipal implements Principal {

    private final String name;

    public UserPrincipal(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}
